package com.yuke.cloud.service.wmc.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;

@ApiModel(value="com.yuke.cloud.service.wmc.entity.WmsWarehouseGroup")
@Table(name = "wms_warehouse_group")
public class WmsWarehouseGroup {
    /**
     * 店铺ID，主键，自增
     */
    @Id
    @Column(name = "warehouse_group_id")
    @ApiModelProperty(value="warehouseGroupId店铺ID，主键，自增")
    private Long warehouseGroupId;

    /**
     * 仓库ID
     */
    @Column(name = "warehouse_id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value="warehouseId仓库ID")
    private Long warehouseId;

    @Column(name = "group_id")
    @ApiModelProperty(value="groupId")
    private Long groupId;

    /**
     * 获取店铺ID，主键，自增
     *
     * @return warehouse_group_id - 店铺ID，主键，自增
     */
    public Long getWarehouseGroupId() {
        return warehouseGroupId;
    }

    /**
     * 设置店铺ID，主键，自增
     *
     * @param warehouseGroupId 店铺ID，主键，自增
     */
    public WmsWarehouseGroup setWarehouseGroupId(Long warehouseGroupId) {
        this.warehouseGroupId = warehouseGroupId;
        return this;
    }

    /**
     * 获取仓库ID
     *
     * @return warehouse_id - 仓库ID
     */
    public Long getWarehouseId() {
        return warehouseId;
    }

    /**
     * 设置仓库ID
     *
     * @param warehouseId 仓库ID
     */
    public WmsWarehouseGroup setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
        return this;
    }

    /**
     * @return group_id
     */
    public Long getGroupId() {
        return groupId;
    }

    /**
     * @param groupId
     */
    public WmsWarehouseGroup setGroupId(Long groupId) {
        this.groupId = groupId;
        return this;
    }
}